<%= render :partial => 'breadcrumbs' %>
<% form_for @visitor do |f| %>
  <%= f.error_messages %>
  <table class="form">
		<tr>
			<th colspan="3">Visitor Information</th>
		</tr>
		<tr>
			<td width="3%">1.</td>
			<td><%= f.label :name %></td>
			<td><%= f.text_field :name %></td>
		</tr>
		<tr>
			<td>2.</td>
			<td><%= f.label :id_no %></td>
			<td><%= f.text_field :id_no %></td>
		</tr>
		<tr>
			<td>3.</td>
			<td><%= f.label :organization %></td>
			<td><%= f.text_field :organization %></td>
		</tr>
		<tr>
			<td>4.</td>
			<td><%= f.label :purpose %></td>
			<td><%= f.text_field :purpose %></td>
		</tr>
		<tr>
			<td>5.</td>
			<td><%= f.label :location %></td>
			<td><%= f.text_field :location %></td>
		</tr>
		<tr>
			<td>6.</td>
			<td><%= f.label :person_to_meet %></td>
			<td><%= f.text_field :person_to_meet %></td>
		</tr>
		<tr>
			<td>7.</td>
			<td><%= f.label :address %></td>
			<td><%= f.text_field :address %></td>
		</tr>
		<tr>
			<td>8.</td>
			<td><%= f.label :check_in %></td>
			<td><%= f.datetime_select :check_in %></td>
		</tr>
		<tr>
			<td>9.</td>
			<td><%= f.label :check_out %></td>
			<td><%= f.datetime_select :check_out %></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td><%= f.submit %></td>
		</tr>
	</table>
  <% end %>
